// =============================================================================
// SCSS/SITE/STACKS/ICON/_SLIDER-REVOLUTION.SCSS
// -----------------------------------------------------------------------------
// Styling for the Slider Revolution plugin.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Slider Revolution Container Styles
//   02. Slider Revolution Navigation Styles
//       a. Bullets
//       b. Arrows
//   03. Buttons in Slider Revolution
//   04. Scroll Bottom
// =============================================================================

// Slider Revolution Container Styles
// =============================================================================

.x-slider-revolution-container {
  position: relative;

  &.above,
  &.below {
    border-bottom: 1px solid $baseBorderSolid;
    border-bottom: 1px solid $baseBorderRgba;
  }

  .rev_slider_wrapper {
    padding: 0 !important;
  }
}



// Slider Revolution Navigation Styles
// =============================================================================

//
// Bullets.
//

.tp-bullets.tp-thumbs {
  padding: 0;
}

.tp-bullets.simplebullets.navbar,
.tp-bullets.simplebullets.navbar-old {
  height: 40px;
  border: 0;
  background: $headingsColor;
  border-radius: 0;
  @include break(middle-bear) {
    display: none;
  }

  .bullet {
    width: 19px;
    height: 19px;
    margin-top: 10px;
    background: $baseModBackground;
    border-radius: 100em;
    @include opacity(0.35);
    @include transition(#{opacity 0.3s ease});

    &:hover,
    &.selected {
      background-color: $baseModBackground;
      @include opacity(1);
    }

    &.last {
      margin-right: 0;
    }
  }
}

.tp-bullets.simplebullets.round,
.tp-bullets.simplebullets.round-old,
.tp-bullets.simplebullets.square-old {
  @include break(middle-bear) {
    display: none;
  }

  .bullet {
    width: 19px;
    height: 19px;
    margin: 3px 0;
    background: $baseModBackground;
    border-radius: 0;
    @include opacity(0.35);
    @include transition(#{opacity 0.3s ease});

    &:hover,
    &.selected {
      background-color: $baseModBackground;
      @include opacity(1);
    }

    &.last {
      margin-right: 0;
    }
  }
}

.tp-bullets.simplebullets.round,
.tp-bullets.simplebullets.round-old {
  .bullet {
    border-radius: 100em;
  }
}


//
// Arrows.
//

.tp-leftarrow,
.tp-rightarrow {
  background: none !important;

  &:before {
    display: block;
    margin: 0 auto;
    @include font-size(2.4);
    text-decoration: inherit;
    color: $baseModBackground;
    @include opacity(0.5);
    @include transition(#{opacity 0.3s ease});
    @include font-awesome();
  }

  &:hover:before {
    color: $baseModBackground;
    @include opacity(1);
  }

  &.default {
    text-align: center;
    background-color: $headingsColor !important;

    &:before {
      width: 40px;
      height: 40px;
      line-height: 39px;
    }
  }
}

.tp-leftarrow {
  &:before {
    content: "\f100";
  }
}

.tp-rightarrow {
  &:before {
    content: "\f101";
  }
}

.tp-leftarrow.navbar,
.tp-rightarrow.navbar,
.tp-leftarrow.navbar-old,
.tp-rightarrow.navbar-old {
  width: 40px;
  height: 40px;
  margin: 0;
  line-height: 38px;
  text-align: center;
  background: none;
}

.tp-leftarrow.round,
.tp-rightarrow.round,
.tp-leftarrow.round-old,
.tp-rightarrow.round-old,
.tp-leftarrow.square-old,
.tp-rightarrow.square-old {
  width: 26px;
  height: 26px;
  margin: 0;
  line-height: 25px;
  text-align: center;
  background: none;
}



// Buttons in Slider Revolution
// =============================================================================

.rev_slider_wrapper {
  .x-btn {
    padding: 0.563em 1.125em 0.813em !important;
    font-size: 16px !important;
    font-size: 1.6rem !important;
    @include break(cubs) {
      font-size: 13px !important;
      font-size: 1.3rem !important;
    }
    @include break(middle-bear) {
      font-size: 11px !important;
      font-size: 1.1rem !important;
    }
    @include break(baby-bear) {
      font-size: 8px !important;
      font-size: 0.8rem !important;
    }
  }
}



// Scroll Bottom
// =============================================================================

.x-slider-scroll-bottom {
  position: absolute;
  display: block;
  border: 3px solid $white;
  width: 60px;
  height: 60px;
  font-size: 41px;
  line-height: 53px;
  text-align: center;
  color: $white;
  border-radius: 100em;
  z-index: $zindexNavbar - 10;
  @include transition(#{all 0.3s ease});

  &.top {
    top: 20px;
  }

  &.left {
    left: 20px;
  }

  &.right {
    right: 20px;
  }

  &.bottom {
    bottom: 20px;
  }

  &.center {
    left: 50%;
    margin-left: -30px;
  }

  &:hover {
    color: $linkColor;
    border-color: $linkColor;
  }

  @include break(old-bear) {
    width: 50px;
    height: 50px;
    font-size: 38px;
    line-height: 43px;

    &.center {
      margin-left: -25px;
    }
  }

  @include break(middle-bear) {
    border-width: 2px;
    width: 46px;
    height: 46px;
    font-size: 31px;
    line-height: 40px;

    &.center {
      margin-left: -23px;
    }
  }

  @include break(baby-bear) {
    width: 40px;
    height: 40px;
    font-size: 25px;
    line-height: 34px;

    &.center {
      margin-left: -20px;
    }
  }
}